package jinyilw.common.hint;
public class HintTools
{
	private static Hinter delegation = new DefaultHinter();

	private HintTools()
	{
	}
	public static void setDelegation(Hinter delegation)
	{
		if (delegation != null)
			HintTools.delegation = delegation;
	}

	public static void hint(String msg)
	{
		delegation.hint(msg);
	}

	public static void hint(String title, String msg)
	{
		delegation.hint(title, msg);
	}

	public static boolean confirm(String msg)
	{
		return delegation.confirm(msg);
	}

	public static boolean confirm(String title, String msg)
	{
		return delegation.confirm(title, msg);
	}

	public static Object confirm(String title, String msg, Object... objects)
	{
		return delegation.confirm(title, msg, objects);
	}
}
